package com.gimi.cloud.bbp.manage.service.order;

import com.gimi.cloud.bbp.dto.order.OrderGoodsDTO;
import com.gimi.cloud.bbp.entity.order.OrderGoodsEntity;
import com.github.pagehelper.PageInfo;

import java.util.*;

/**
 * 订单商品管理
 * @author chendi
 * @date 2018年1月9日
 */
public interface OrderGoodsService {

    /**
     * 订单商品列表
     */
	List<OrderGoodsEntity> orderGoodsListByCondition(OrderGoodsDTO DTO) throws Exception;
	/**
	 * 订单商品列表
	 */
	PageInfo<OrderGoodsEntity> orderGoodsPageListByCondition(OrderGoodsDTO DTO) throws Exception;
	/**
	 * 删除订单商品
	 */
	void deleteOrderGoods(OrderGoodsDTO DTO) throws Exception;
	
	/**
	 * 获得单个商品实体
	 */
	OrderGoodsDTO getSingleOrderGoods(OrderGoodsDTO DTO)throws Exception;
	
	/**
	 * 修改订单商品信息
	 */
	void updateOrderGoods(OrderGoodsDTO DTO) throws Exception;
	
	
	
}
